package org.deng.learn.designpattern.singleton;

/**
 * @ Author: DengLibin
 * @ Description: 单例模式一 线程安全 没有懒加载
 * @ DateTime:  21:50 2018/5/7 0007
 */
public class Singleton1 {
    private static  Singleton1 instance = new Singleton1();
    private Singleton1(){}

    public static Singleton1 getInstance(){
        return instance;
    }

}
